build: Fix disabling --enable-man if xsltproc is not available
authorPhilip Withnall <withnall@endlessm.com>
Mon, 6 Mar 2017 12:19:28 +0000 (12:19 +0000)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 6 Mar 2017 13:48:17 +0000 (13:48 +0000)
commitf667a82fc10a0e006c4aa634e4ffbffe1f9c537d
tree85be76ae8844218989eb5732dfd7e79249529a00
parenta787e0c072756863136e1951ce3a99012bda40d2
build: Fix disabling --enable-man if xsltproc is not available

If --enable-man=maybe (the default), and xsltproc is not available, the
configuration code would check for it, correctly set enable_man=no, then
incorrectly overwrite that with enable_man=yes, which would result in
later trying to execute $(XSLTPROC) when it’s empty.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #720
Approved by: cgwalters
configure.ac